import Vue from 'vue'
import App from './app.vue'
import VueRouter from 'vue-router'
import Vuex from 'vuex'
import router from './config/router.js'
import store from './store/store.js'

import './assets/css/global.styl'

Vue.use(VueRouter)
Vue.use(Vuex)

const root = document.createElement('div')
document.body.appendChild(root)

new Vue({
  router: router(),
  store: store(),
  render: (h) => h(App)
}).$mount(root)
